package com.hqz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqz.entity.Article;

public interface ArticleService extends IService<Article> {

    IPage<Article> selectList(Page<Article> page);

    Article selectByName(String articleName);

    Integer add(Article article, Integer typeId);

    Integer update(Article article, Integer typeId);
}
